.class Lcom/tendcloud/tenddata/ej$h;
.super Lcom/tendcloud/tenddata/ej;


# instance fields
.field private final a:Lcom/tendcloud/tenddata/ee;

.field private final b:Lcom/tendcloud/tenddata/ee;

.field private final c:Ljava/util/WeakHashMap;

.field private final d:[Ljava/lang/Object;


# direct methods
.method constructor <init>(Ljava/util/List;Lcom/tendcloud/tenddata/ee;Lcom/tendcloud/tenddata/ee;)V
    .locals 1

    invoke-direct {p0, p1}, Lcom/tendcloud/tenddata/ej;-><init>(Ljava/util/List;)V

    iput-object p2, p0, Lcom/tendcloud/tenddata/ej$h;->a:Lcom/tendcloud/tenddata/ee;

    iput-object p3, p0, Lcom/tendcloud/tenddata/ej$h;->b:Lcom/tendcloud/tenddata/ee;

    const/4 v0, 0x1

    new-array v0, v0, [Ljava/lang/Object;

    iput-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->d:[Ljava/lang/Object;

    new-instance v0, Ljava/util/WeakHashMap;

    invoke-direct {v0}, Ljava/util/WeakHashMap;-><init>()V

    iput-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->c:Ljava/util/WeakHashMap;

    return-void
.end method


# virtual methods
.method public a()V
    .locals 5

    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->c:Ljava/util/WeakHashMap;

    invoke-virtual {v0}, Ljava/util/WeakHashMap;->entrySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/Map$Entry;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/View;

    invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v3, p0, Lcom/tendcloud/tenddata/ej$h;->d:[Ljava/lang/Object;

    const/4 v4, 0x0

    aput-object v0, v3, v4

    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->a:Lcom/tendcloud/tenddata/ee;

    iget-object v3, p0, Lcom/tendcloud/tenddata/ej$h;->d:[Ljava/lang/Object;

    invoke-virtual {v0, v1, v3}, Lcom/tendcloud/tenddata/ee;->a(Landroid/view/View;[Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0

    :cond_1
    return-void
.end method

.method public accumulate(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->b:Lcom/tendcloud/tenddata/ee;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->a:Lcom/tendcloud/tenddata/ee;

    invoke-virtual {v0}, Lcom/tendcloud/tenddata/ee;->a()[Ljava/lang/Object;

    move-result-object v0

    const/4 v1, 0x1

    array-length v2, v0

    if-ne v1, v2, :cond_3

    aget-object v0, v0, v3

    iget-object v1, p0, Lcom/tendcloud/tenddata/ej$h;->b:Lcom/tendcloud/tenddata/ee;

    invoke-virtual {v1, p1}, Lcom/tendcloud/tenddata/ee;->a(Landroid/view/View;)Ljava/lang/Object;

    move-result-object v2

    if-ne v0, v2, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    if-eqz v0, :cond_2

    instance-of v1, v0, Landroid/graphics/Bitmap;

    if-eqz v1, :cond_4

    instance-of v1, v2, Landroid/graphics/Bitmap;

    if-eqz v1, :cond_4

    check-cast v0, Landroid/graphics/Bitmap;

    move-object v1, v2

    check-cast v1, Landroid/graphics/Bitmap;

    invoke-virtual {v0, v1}, Landroid/graphics/Bitmap;->sameAs(Landroid/graphics/Bitmap;)Z

    move-result v0

    if-nez v0, :cond_0

    :cond_2
    instance-of v0, v2, Landroid/graphics/Bitmap;

    if-nez v0, :cond_3

    instance-of v0, v2, Landroid/graphics/drawable/BitmapDrawable;

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->c:Ljava/util/WeakHashMap;

    invoke-virtual {v0, p1}, Ljava/util/WeakHashMap;->containsKey(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    :cond_3
    :goto_1
    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->a:Lcom/tendcloud/tenddata/ee;

    invoke-virtual {v0, p1}, Lcom/tendcloud/tenddata/ee;->a(Landroid/view/View;)Ljava/lang/Object;

    goto :goto_0

    :cond_4
    instance-of v1, v0, Landroid/graphics/drawable/BitmapDrawable;

    if-eqz v1, :cond_5

    instance-of v1, v2, Landroid/graphics/drawable/BitmapDrawable;

    if-eqz v1, :cond_5

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v1

    move-object v0, v2

    check-cast v0, Landroid/graphics/drawable/BitmapDrawable;

    invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;

    move-result-object v0

    if-eqz v1, :cond_2

    invoke-virtual {v1, v0}, Landroid/graphics/Bitmap;->sameAs(Landroid/graphics/Bitmap;)Z

    move-result v0

    if-eqz v0, :cond_2

    goto :goto_0

    :cond_5
    invoke-virtual {v0, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    goto :goto_0

    :cond_6
    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->d:[Ljava/lang/Object;

    aput-object v2, v0, v3

    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->a:Lcom/tendcloud/tenddata/ee;

    iget-object v1, p0, Lcom/tendcloud/tenddata/ej$h;->d:[Ljava/lang/Object;

    invoke-virtual {v0, v1}, Lcom/tendcloud/tenddata/ee;->a([Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->c:Ljava/util/WeakHashMap;

    invoke-virtual {v0, p1, v2}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1

    :cond_7
    iget-object v0, p0, Lcom/tendcloud/tenddata/ej$h;->c:Ljava/util/WeakHashMap;

    const/4 v1, 0x0

    invoke-virtual {v0, p1, v1}, Ljava/util/WeakHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_1
.end method

.method protected d()Ljava/lang/String;
    .locals 1

    const-string v0, "Property Mutator"

    return-object v0
.end method
